package pe.gob.servir.web.apps.censodirectivo.model.beans;

import java.io.Serializable;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;

@ManagedBean
@SessionScoped
public class Captcha implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8766972218452519345L;

	public void check(ActionEvent e) {
		FacesContext.getCurrentInstance().addMessage(
				null,
				new FacesMessage(FacesMessage.SEVERITY_INFO,
						"Your Code Is Correct !", null));
	}
}